<script type="text/javascript">

    $(function() {
        setTimeout(function () {
        }, 8000);

        $('footer a').each(function(){
            if($($(this))[0].href==String(window.location))
                $(this).addClass('active');
        });

    });
</script>
<footer class="bar bar-tab">
    <a class="tab-item external " href="/task/record">
        <span class="icon iconfont">&#xe606;</span>
        <span class="tab-label">首页</span>
    </a>
    <a class="tab-item external" href="/task/currentList">
        <span class="icon iconfont">&#xe615;</span>
        <span class="tab-label">任务管理</span>
    </a>
    <a class="tab-item external" href="/task/history">
        <span class="icon iconfont">&#xe605;</span>
        <span class="tab-label">历史任务</span>
    </a>
    <a class="tab-item external " href="/personal/index">
        <span class="icon iconfont">&#xe60d;</span>
        <span class="tab-label">我的</span>
    </a>
</footer>
